/* DIN Next LT Arabic Font Definitions */
@font-face {
  font-family: "DINNextLTArabic";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabic-Regular.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabic-Regular.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicMedium.woff2") format("woff"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicMedium.woff") format("woff2");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBold.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBold.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBlack.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBlack.woff") format("woff2");
}




/* Custom Bootstrap Theme - Green Theme (#010485) */

:root {
  --gold-color: #a3875b;
  --gold-color: #a3875b;
  --bs-primary: #010485;
  --bs-primary-rgb: 16, 70, 49;
  --bs-primary-text-emphasis: #083821;
  --bs-primary-bg-subtle: #d1e0d8;
  --bs-primary-border-subtle: #a3c2b2;

  /*  Colors Start*/

  .bg-info {
    background-color: #ecfdf3 !important;
  }

  /*  Colors End*/


  /* Apply the font to body or specific elements */
  body {
    font-family: "DIN Next LT Arabic", -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  #s4-workspace {
    padding-bottom: 0 !important;
    font-family: "DINNextLTArabic", sans-serif !important;
  }

  .ms-h1,
  .ms-h2,
  .ms-h3,
  .ms-h4,
  .ms-h5,
  .ms-h6,
  .ms-headerFont {
    margin: inherit;
    font-family: "DINNextLTArabic" !important;
  }


  /* Font weight utility classes */
  .font-ultralight {
    font-weight: 200;
  }

  .font-light {
    font-weight: 300;
  }

  .font-regular {
    font-weight: 400;
  }

  .font-medium {
    font-weight: 500;
  }

  .font-bold {
    font-weight: 700;
  }

  .font-heavy {
    font-weight: 800;
  }

  .font-black {
    font-weight: 900;
  }

  /* Gold color for accent */
  --bs-gold: #a3875b;
  --bs-gold-rgb: 212,
  178,
  84;

  /* Adjusting other Bootstrap variables for better harmony */
  --bs-link-color: #010485;
  --bs-link-hover-color: #0d3826;
  --bs-focus-ring-color: rgba(16, 70, 49, 0.25);

  /* Font family */
  --bs-font-sans-serif: "DIN Next LT Arabic",
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  Roboto,
  "Helvetica Neue",
  Arial,
  sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);

  /* Component specific overrides */
  --bs-btn-active-bg: #0d3826;
  --bs-btn-active-border-color: #0a2e1f;
}

/* browser scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #6c757d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #010485;
}

html {
  font-size: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.gca-stroke {
  font-size: 22px;
  color: #161616;
  vertical-align: sub;
}

.gca-stroke-16 {
  font-size: 16px;
}

.gca-stroke-24 {
  font-size: 24px;
}

.gca-stroke-32 {
  font-size: 32px;
}

.gca-stroke-40 {
  font-size: 40px;
}

.gca-stroke-48 {
  font-size: 48px;
}

.gca-stroke-64 {
  font-size: 64px;
}

.border-white-30 {
  border-color: rgb(255 255 255 / 0.3) !important;
}

.news-card:hover {
  background: linear-gradient(to top, var(--bs-link-color) 0%, white 100%);
  color: #ffffff;
}

.news-card:hover {
  background: linear-gradient(to top, var(--bs-link-color) 0%, white 100%);
  color: #ffffff;
}

/* Button primary */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #010485;
  --bs-btn-border-color: #010485;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #767c7a;
  --bs-btn-hover-border-color: #767c7a;
  --bs-btn-hover-bg: #767c7a;
  --bs-btn-hover-border-color: #767c7a;
  --bs-btn-focus-shadow-rgb: 73, 115, 98;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #767c7a;
  --bs-btn-active-border-color: #767c7a;
  --bs-btn-active-bg: #767c7a;
  --bs-btn-active-border-color: #767c7a;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #010485;
  --bs-btn-disabled-border-color: #010485;
}

/* Button outline primary */
.btn-outline-primary {
  --bs-btn-color: #010485;
  --bs-btn-border-color: #010485;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #010485;
  --bs-btn-hover-border-color: #010485;
  --bs-btn-focus-shadow-rgb: 16, 70, 49;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #010485;
  --bs-btn-active-border-color: #010485;
  --bs-btn-disabled-color: #010485;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #010485;
}

/* Background colors */
.bg-primary {
  background-color: #010485 !important;
}

/* Text colors */
.text-primary {
  color: #010485 !important;
}

/* Border colors */
.border-primary {
  border-color: #010485 !important;
}

/* Links */
a {
  color: #010485;
}

a:hover {
  color: #0d3826;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
  border-color: #a3c2b2;
  box-shadow: none;
}

/* Custom form controls */
.form-check-input:checked {
  background-color: #010485;
  border-color: #010485;
}

/* Modal headers */
.modal-header {
  border-bottom-color: rgba(16, 70, 49, 0.2);
}

/* Gold accent color utility classes */
.text-gold {
  color: #a3875b !important;
}

.bg-gold {
  background-color: #a3875b !important;
}

.border-gold {
  border-color: #a3875b !important;
}

/* Additional styles for specific components */
.card-header {
  background-color: rgba(16, 70, 49, 0.05);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #010485;
  color: #fff;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #010485;
  border-color: #010485;
}

.page-link {
  color: #010485;
}

.page-link:hover {
  color: #0d3826;
}

/* Progress bars */
.progress-bar {
  background-color: #010485;
}

/* List groups */
.list-group-item.active {
  background-color: #010485;
  border-color: #010485;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #010485;
}

/* Ensure the new green color is used in mode-toggle switch we created earlier */
.mode-toggle .form-check-input:checked {
  background-color: #010485;
  border-color: #010485;
}

/* Custom dropdown styling with gca-arrow-down-01 */
.dropdown-toggle::after {
  display: none !important;
  /* Hide default Bootstrap dropdown arrow */
}

/* Custom Cards Shadow */
.card {
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
    0px 4px 6px -2px rgba(16, 24, 40, 0.03) !important;
  border: 0 !important;
}

.text-justify {
  text-align: justify;
}

/***********************************************/
/****    loader START ***********/
/************************************************/
@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animated-img {
  animation: fadeScale 2s infinite alternate ease-in-out;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  /* Adjust as needed */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/***********************************************/
/****    loader END ***********/
/************************************************/
#card-section .card-overlay a:visited,
.presedent-card span {
  color: #ffffff !important;
}

.header .nav-item a span,
.header .nav-item .dropdown-menu li a:visited,
.news-section a.btn-light:visited,
.breadcrumb-item a:visited,
#card-section .card-overlay a:hover {
  color: rgba(33, 37, 41, 0.75) !important;
}

/* Responsive About US Details Styles */
@media (max-width: 991.98px) {
  #about-us-details .d-flex.flex-column.flex-lg-row {
    gap: 1rem !important;
  }

  #about-us-details .border-bottom.border-lg-end {
    border-right: none !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
  }

  #about-us-details .ps-lg-3.ps-0 {
    padding-left: 0 !important;
  }
}

@media (max-width: 767.98px) {
  #about-us-details .flex-column.flex-lg-row {
    flex-direction: column !important;
  }

  #about-us-details .gap-3 {
    gap: 0.75rem !important;
  }

  #about-us-details .p-3.p-lg-4 {
    padding: 0.75rem !important;
  }

  #about-us-details h5 {
    font-size: 1rem !important;
  }

  #about-us-details .lead {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 575.98px) {
  #about-us-details .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #about-us-details .rounded-3 {
    border-radius: 0.5rem !important;
  }
}

/* add to make font better in members pages*/

@media (max-width: 992px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-dot {
    left: -12px;
    transform: none;
  }
}

@media (max-width: 992px) {
  .presedent-timeline::before {
    left: 44px;
  }

  .presedent-timeline-dot {
    left: 25px;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .fs-1 {
    font-size: 2.5rem !important;
  }

  .fs-2 {
    font-size: 2rem !important;
  }

  .fs-3 {
    font-size: 1.02rem !important;
  }

  .fs-4 {
    font-size: 1.5rem !important;
  }

  .leadership-card p {
    font-size: 0.81rem !important;
    padding-bottom: 10px;
  }
}

@media (min-width: 1600px) {


  .leadership-card .fs-3 {
    font-size: 1.08rem !important;
  }

  .leadership-card p {
    font-size: 0.9rem !important;
    padding-bottom: 10px;
  }
}


@media (min-width: 2200px) {


  .leadership-card .fs-3 {
    font-size: 1.6rem !important;
  }

  .leadership-card p {
    font-size: 0.81rem !important;
    padding-bottom: 10px;
  }
}

/* Developers custom css */
#awards-tabs img,
#meetings-tabs img {
  width: 100%;
  height: 20vw !important;
}


@media (max-width: 767.98px) {

  #awards-tabs img,
  #meetings-tabs img {

    width: 100%;

    height: 50vh !important;

  }


}

/* remove sign in word*/
.ms-signInLink {
  display: none !important;
}


/********************************************
 * Contact Form Styles
 ********************************************/

/* Contact form container */
.contact-form-container {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Contact form styling */
#contactForm .form-control,
#contactForm .form-select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(1, 4, 133, 0.1);
}

#contactForm .form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

#contactForm .text-danger {
  color: #dc3545 !important;
}

/* Upload area styling */
.upload-area {
  background-color: #fafafa;
  border-color: #ddd !important;
  transition: all 0.3s ease;
}

.upload-area:hover {
  background-color: #f0f0f0;
  border-color: var(--bs-primary) !important;
}

.upload-area .btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.upload-area .btn-outline-secondary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
}

/* Contact information sidebar */
.contact-info-list .contact-item {
  padding: 6px 0;
}

.contact-info-list .contact-item:last-child {
  border-bottom: none;
}

/* Copy button styling */
.copy-btn {
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background-color: #fff;
  border-color: var(--bs-primary);
  transform: translateY(-1px);
}

.copy-btn:hover i {
  color: white !important;
}

.copy-btn i {
  color: #6c757d;
  font-size: 14px;
}

.copy-btn:active {
  transform: translateY(0);
}

/* Copy icon hover effect */
.gca-copy-01:hover,
.gca-link-01:hover {
  color: var(--bs-primary) !important;
  cursor: pointer;
}

/* Toast animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.contact-toast {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 8px;
}

/* Social media links */
.social-media-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.social-media-section a:hover {
  background-color: var(--bs-primary);
  transform: translateY(-2px);
}

.social-media-section a:hover i {
  color: white !important;
}

/* Form validation states */
#contactForm .is-invalid {
  border-color: #dc3545;
}

#contactForm .is-valid {
  border-color: #28a745;
}

/* Submit button styling */
#contactForm button[type="submit"] {
  min-width: 120px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#contactForm button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(1, 4, 133, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {

  .contact-info-list .contact-item {
    padding: 16px 0;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

  .copy-btn {
    width: 40px;
    height: 40px;
  }

  #contactForm .form-control,
  #contactForm .form-select {
    padding: 14px 16px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .upload-area {
    padding: 24px 16px !important;
  }

  .social-media-section a {
    width: 48px;
    height: 48px;
  }

  .contact-toast {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    min-width: auto !important;
  }

  #topbar li span {
    font-size: 3.5vw;
  }

}

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #contactForm button[type="submit"] {
    width: 100%;
    margin-top: 16px;
  }

  .contact-info-list {
    margin-top: 24px;
  }

}

/* Input group styling for phone number */
.input-group .form-select {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group .form-select:focus {
  border-right: 1px solid var(--bs-primary);
  z-index: 3;
}

.input-group .form-control:focus {
  border-left: 1px solid var(--bs-primary);
  z-index: 3;
}


.about-logo {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

.logo {
  max-width: 80% !important;
}

@media screen and (max-width: 768px) {
  .about-logo {
    max-width: 75vw;
  }
}

/********************************************
 * Presedent Card 
*********************************************/

.presedent-card {
  display: flex;
}

.presedent-card .presedent-image {
  width: auto;
  height: 500px;
}

.presedent-card a {
  min-width: 200px;
}

.president-image {
  width: 280px;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: 4px solid var(--bs-primary);
}

@media (max-width: 469px) {
  .presedent-card .presedent-image {
    width: 80% !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .presedent-card .presedent-image {
    width: 80% !important;
    height: 350px !important;
  }
}

.president-image:hover {
  transform: scale(1.02);
}

.president-hero-card {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  overflow: hidden;
  padding: 2rem;
}

.president-message-container {
  position: relative;
}


#about-us-details img {
  max-width: 100%;
}



/* SharePoint ribbon hide */
#s4-ribbonrow {
  display: none;
}